package com.jorado.etl.model;

import java.util.Objects;

public class EtlInput {

    private String jobTypeId;
    private String jobType;
    private String industry;
    private String jobTitle;
    private String jobDescription;
    private String companyName;
    private String companyDescription;

    public String getJobTypeId() {
        return jobTypeId;
    }

    public void setJobTypeId(String jobTypeId) {
        this.jobTypeId = jobTypeId;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getJobDescription() {
        return jobDescription;
    }

    public void setJobDescription(String jobDescription) {
        this.jobDescription = jobDescription;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyDescription() {
        return companyDescription;
    }

    public void setCompanyDescription(String companyDescription) {
        this.companyDescription = companyDescription;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        EtlInput etlInput = (EtlInput) o;
        return Objects.equals(getJobType(), etlInput.getJobType()) &&
                Objects.equals(getIndustry(), etlInput.getIndustry()) &&
                Objects.equals(getJobTitle(), etlInput.getJobTitle()) &&
                Objects.equals(getJobDescription(), etlInput.getJobDescription());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getJobType(), getIndustry(), getJobTitle(), getJobDescription());
    }
}
